module.exports = {
    // create by mongodb automatic (24 [a-f0-9] chars)
    _id: { sample:"5c46d2b0eb4eed8d8f10603c", alias:"ID", description:""},
    _invalid : { sample:undefined, alias:'非法', description:''},

    title : { sample:'美总统前律师科恩国会作证：无法证实特朗普通俄', alias:'标题', max:32, description:''},
    subtitle : { sample:'特朗普小胜', alias:'副标题', max:16, description:''},
    mainclass : { sample:'alljs/cordova', alias:'类别', description:''},
    subclass : { sample:'国际', alias:'子类别', max:16, description:''},
    keywords : { sample:'美国;特朗普;通俄', alias:'关键词', max:64, description:''},
    author : { sample:'XX新闻网', alias:'作者', max:64, description:''},
    authorPortrait : { sample:"/a/b/do?a=1&b=2", alias:"作者头像", max:128, description:"url"},
    publish : { sample:1551333801530, alias:'', description:'date.getTime()'},

    produceUrl : { sample:'https://mbd.baidu.com/newspage/data/landingsuper?context=%7B%22nid%22%3A%22news_9662253227071452352%22%7D&n_type=0&p_from=1', alias:'转载URL', max:128, description:''},
    produceUser : { sample:{_id:"5c46d2b0eb4eed8d8f10603c", nickname:"土豆囝囝", portrait:"/a/b/do?a=1&b=2", role:"guest", group:"testgroup", status:0}, alias:'发布用户', description:'发布者用户信息{_id, nickname, portrait,role,group,status}'},
    produceTime : { sample:1551333801530, alias:'发布时间', description:'date.getTime()'},

    modify : { sample:[["5c46d2b0eb4eed8d8f10603c", 1551333801530]], alias:'编辑信息', description:'每一次编辑的信息,[[编辑用户ID，编辑时间]]'},
    modifyTime : { sample:1551333801530, alias:'修改时间', description:'date.getTime()'},

    accesses : { sample:12, alias:'访问次数', description:''},
    replys : { sample:2, alias:'回复次数', description:''},
    fonds : { sample:2, alias:'喜欢次数', description:''},

    popular : { sample:2, alias:'喜欢次数', description:'访问次数+喜欢次数*3+回复次数*6/exp(间隔时间(分钟))'},


    // 0:alive, 1:freezed, 2:disabled
    status: { sample:0, alias:"状态", description:"0:alive, 1:freezed, 2:disabled"},

    brief: { sample:"<p>xxx</p><p>yyyy</p>", alias:'内容', description:'评论只有brief，没有content，文章既有brief，也有content'},
    briefImages: { sample:['/a/00.png','/a/01.png','/a/30.wmv'], alias:'提纲图片', description:'若干张图片或视频的URL'},
    content: { sample:"<p>xxx</p><p>yyyy</p>", alias:'内容', description:'不存于数据库，而是从文件中读取，附加到内存对象'},
};